package com.zxkj.Exception;

import com.zxkj.support.Result;
import com.zxkj.support.ResultCode;
import lombok.Getter;

/**
 * @author: yaoxin
 * @Date: 2021/12/10 - 12 - 10 - 10:15
 * @Description: com.zxkj.Exception.handle
 * @version: 1.0
 */
@Getter
public class BuildParamException extends RuntimeException {

    private String data;
    private Result result;

    public BuildParamException(Result result) {
        super(result.getMessage());
        this.result = result;
    }
}